package com.faxsun.test.example;

import static org.junit.Assert.*;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*;
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;

import org.junit.Before;
import org.junit.Test;

import com.faxsun.test.base.BaseControllerTest;

@SuppressWarnings("unused")
public class LoginControllerTestCase extends BaseControllerTest {

	@Before
	public void setUp() throws Exception {
		super.setup();
	}

	@Test
	public void test() {

		try {
			this.mockMvc.perform(post("/login","admin","admin")).andExpect(status().isOk());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
